WP_Defender\Component\Blacklist_Lockout A

Total Complexity 51
Dependencies 5
Dependents 11
Total lines 327
Lines of code 201
Logical lines of code 107
Comment lines 88
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
is_geodb_downloaded()
B
39 19 62
is_country_blacklist()
S
56 6 18
verify_import_file()
S
56 5 18
is_country_whitelist()
S
58 5 15
get_top_countries_blocked()
S
54 3 21
get_default_ip_whitelisted()
S
52 2 27
add_default_whitelisted_country()
S
66 3 8
are_ips_whitelisted()
S
67 3 8
is_ip_whitelisted()
S
68 2 7
is_blacklist()
S
75 1 4
get_blc_ip_whitelisted()
S
71 1 7
is_blc_ip_whitelisted()
S
70 1 6